In addition to the IEC standard, you can write you own code: sub-program or UDFB"User Defined Function Block" UDFB can be used as a sub-function block in another program of the application. It is described using FBD, LD, ST or IL language. Input / output parameters of a UDFB (as well as private variables) are declared in the variable editor as local variables of the UDFB.
| Types | IEC 61131-3 | Written by end-user |
|---|---|---|
| Basic functions (has no memory) | Functions | Programs / Sub-programs |
| Instantiated functions (keep track of the past) | Function Blocks (FB) | User-Defined Function Blocks (UDFB) |
Rather than halt the application, waiting for operations to complete, the FB typically gives control back to the application but does not set its Done output.
|
Copyright © 2015 Kollmorgen™ |
|